<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
    <head>
        <meta name="keywords" content="<%= keywords %>" />
        <meta name="description" content="" />
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title><%= controller.action_name %></title>
        <link href="<%=statics_url%>/templates/refresh/style.css" rel="stylesheet" type="text/css" media="screen" />
        <%= javascript_include_tag :defaults %>
        <%= javascript_include_tag 'http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php' %>
        <%= yield :javascripts %>
    </head>
    <body>
        <div id="wrapper">
            <div id="header">
                <div id="top_search_wrapper">
                    <div id="logo">
                        &nbsp;
                    </div>
                    <div id="search">
                        <form method="get" action="#">
                            <input type="text" name="s" id="search-text" value="" /><input type="submit" id="search-submit" class="btn" value="Pesquisar" />
                        	
						</form>
						<div id="search_menu">
							menu1 menu2 	
						</div>
                        
                    </div>
                </div>
                <div id="profile">
                    <%= render :partial => "shared/profile_component" %>
                </div>
                <div class="clear">
                </div>
                <!--<div id="menu">
                <ul>
                <li>
                <a href="#" class="active">Home</a>
                </li>
                <li>
                <a href="#">Blog</a>
                </li>
                <li>
                <a href="#">Photos</a>
                </li>
                <li>
                <a href="#">About</a>
                </li>
                <li>
                <a href="#">Links</a>
                </li>
                <li>
                <a href="#">Contact</a>
                </li>
                </ul>
                </div>--><!-- end #menu -->
            </div>
            <!-- end #header -->
            <div id="page">
                
                        <div id="content">
                            <%= yield :layout %>
                            <div style="clear: both;">
                                &nbsp;
                            </div>
                        </div>
                        <!-- end #content -->
                        <div id="sidebar">
                            
							<%= yield :sidebar_hints %>
							
                        </div>
                        <!-- end #sidebar -->
                        <div style="clear: both;">
                            &nbsp;
                        </div>
                
            </div>
            <!-- end #page -->
        </div>
        <div id="footer-wrapper">
            <div id="footer">
                <p>
                    Copyright (c) 2008 Sitename.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.
                </p>
            </div>
        </div>
    </body>
</html>
<%= javascript_tag "window.api_key = '#{Facebooker.api_key}';" %>
<%= javascript_tag "window.xd_receiver_location = '#{ENV['XD_RECEIVER_LOCATION']}';" %>
<%= javascript_tag "window.facebook_authenticate_location = '#{ENV['FACEBOOK_AUTHENTICATE_LOCATION']}';" %>
<%= javascript_include_tag 'facebook_scripts' %>